//
//  Definition.h
//  AIKITDemo
//
//  Created by xyzhang on 2023/3/1.
//

#ifndef Definition_h
#define Definition_h

#define IOS13_OR_LATER   ( [[[UIDevice currentDevice] systemVersion] compare:@"13.0" options:NSNumericSearch] != NSOrderedAscending )

// color
#define IFly_RGBColor(r,g,b)        [UIColor colorWithRed:r/255.0f green:g/255.0f blue:b/255.0f alpha:1.0]
#define IFly_Color_Sender_Enable    IFly_RGBColor(57, 114, 169)
#define IFly_Color_Sender_Unable    IFly_RGBColor(160, 160, 160)

// size
#define IFly_Margin                5
#define IFly_Margin_Padding               10
#define IFly_Margin_ButtonHeight          44
#define IFly_Margin_NavigationBarHeight   44

// appid apikey apisecret
#define AIKIT_APPID                 @""
#define AIKIT_APISECRET             @""
#define AIKIT_APIKEY                @""


#define AIKIT_ABILITYID_AISOUND     @"e7c0db8f4" //ed84113a3_v1000_libAEEAisound.framework
#define AIKIT_ABILITYID_XTTS        @"e2e44feff" //ebd1bade4_v101_libxtts.framework
#define AIKIT_ABILITYID_IVW         @"e867a88f2" //ef7d69542_v100_libw_aee.framework
#define AIKIT_ABILITYID_ED          @"e0e26945b" //ee59b02d1_v1005_aee.framework
#define AIKIT_ABILITYID_ESRCN       @"e91f6d1ad" //e52e099f3_v1000_aee.framework
#define AIKIT_ABILITYID_ESREN       @"e11187d7c" //e34ed766d_v1000_aee.framework

#define AIKIT_TIMEOUT_VALUE         @"20000"            // timeout, Unit:ms

#define AIKIT_AUDIO_SOURCE_STREAM       @"-1"
#define AIKIT_AUDIO_SOURCE_MIC          @"1"


//#define SEARCH_AREA_VALUE     @"Hefei,Anhui"
//#define ASR_PTT_VALUE         @"1"
//#define VAD_BOS_VALUE         @"5000"
//#define VAD_EOS_VALUE         @"1800"
//#define PLAIN_RESULT_VALUE    @"1"
//#define ASR_SCH_VALUE         @"1"

#endif /* Definition_h */
